<template>
  <el-table
    :data="tableData"
    stripe
    style="width: 100%; font-size:12px"
    :height="$store.state.app.tableHeight"
  >
    <el-table-column
      prop="bar_code_num"
      label="查询条码"
      width="140"
    />
    <el-table-column
      prop="date"
      label="查询时间"
      width="160"
    />
    <el-table-column
      label="查询用户"
      width="120"
    >
      <template slot-scope="scope">
        <span>{{ scope.row.nickname }}</span>
      </template>
    </el-table-column>
    <el-table-column
      prop="address"
      label="查询地址"
    />
    <el-table-column
      prop="log"
      label="查询记录"
    />
  </el-table>
</template>

<script>
export default {
  props: {
    tableData: {
      type: Array,
      default() {
        return []
      }
    }
  },
  data() {
    return {

    }
  }
}
</script>

<style lang="sass" scoped>

</style>
